import request from "@/utils/axios";

//foodtext
export function getFoodTextConfig(data) {
    return request({
        path: "/node/Calorie/getFoodTextConfig",
        data,
    });
}
export function updateFoodTextConfig(data) {
    return request({
        path: "/node/Calorie/updateFoodTextConfig",
        data,
    });
}
export function updateFoodTextConfigHandel(data) {
    return request({
        path: "/node/Calorie/updateFoodTextConfigHandel",
        data,
    });
}
export function getFoodTextVersionList(data) {
    return request({
        path: "/node/Calorie/getFoodTextVersionList",
        data,
    });
} 
export function addFoodTextVersion(data) {
    return request({
        path: "/node/Calorie/addFoodTextVersion",
        data,
    });
}
export function deleteHandelFoodText(data) {
    return request({
        path: "/node/Calorie/deleteHandelFoodText",
        data,
    });
}
export function batchDeleteHandelFoodText(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelFoodText",
        data,
    });
}
export function getFoodTextApiLog(data) {
    return request({
        path: "/node/Calorie/getFoodTextApiLog",
        data,
    });
}

//foodscan
export function getFoodScanConfig(data) {
    return request({
        path: "/node/Calorie/getFoodScanConfig",
        data,
    });
}
export function updateFoodScanConfig(data) {
    return request({
        path: "/node/Calorie/updateFoodScanConfig",
        data,
    });
}
export function updateFoodScanConfigHandel(data) {
    return request({
        path: "/node/Calorie/updateFoodScanConfigHandel",
        data,
    });
}
export function getFoodScanVersionList(data) {
    return request({
        path: "/node/Calorie/getFoodScanVersionList",
        data,
    });
}
export function addFoodScanVersion(data) {
    return request({
        path: "/node/Calorie/addFoodScanVersion",
        data,
    });
}
export function deleteHandelFoodScan(data) {
    return request({
        path: "/node/Calorie/deleteHandelFoodScan",
        data,
    });
}
export function batchDeleteHandelFoodScan(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelFoodScan",
        data,
    });
}
export function getFoodScanApiLog(data) {
    return request({
        path: "/node/Calorie/getFoodScanApiLog",
        data,
    });
}


//Exercise
export function getExerciseConfig(data) {
    return request({
        path: "/node/Calorie/getExerciseConfig",
        data,
    });
}
export function updateExerciseConfig(data) {
    return request({
        path: "/node/Calorie/updateExerciseConfig",
        data,
    });
}
export function updateExerciseConfigHandel(data) {
    return request({
        path: "/node/Calorie/updateExerciseConfigHandel",
        data,
    });
}
export function getExerciseVersionList(data) {
    return request({
        path: "/node/Calorie/getExerciseVersionList",
        data,
    });
}
export function addExerciseVersion(data) {
    return request({
        path: "/node/Calorie/addExerciseVersion",
        data,
    });
}
export function deleteHandelExercise(data) {
    return request({
        path: "/node/Calorie/deleteHandelExercise",
        data,
    });
}
export function batchDeleteHandelExercise(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelExercise",
        data,
    });
}
export function getExerciseApiLog(data) {
    return request({
        path: "/node/Calorie/getExerciseApiLog",
        data,
    });
}






export function getUserList(data) {
    return request({
        path: "/node/Calorie/getUserList",
        data,
    });
} 
export function getChatList(data) {
    return request({
        path: "/node/Calorie/getChatList",
        data,
    });
} 

//表单1
export function getReportSearchTextList(data) {
    return request({
        path: "/node/Calorie/getReportSearchTextList",
        data,
    });
} 
export function deleteHandelSearchText(data) {
    return request({
        path: "/node/Calorie/deleteHandelSearchText",
        data,
    });
}
export function batchDeleteHandelSearchText(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelSearchText",
        data,
    });
}
export function getCalorieForm1LanguageList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm1LanguageList",
        data,
    });
}
export function getCalorieForm1CountryList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm1CountryList",
        data,
    });
}

//表单2
export function getReportSearchTextEmptyList(data) {
    return request({
        path: "/node/Calorie/getReportSearchTextEmptyList",
        data,
    });
}
export function deleteHandelSearchTextEmpty(data) {
    return request({
        path: "/node/Calorie/deleteHandelSearchTextEmpty",
        data,
    });
}
export function batchDeleteHandelSearchTextEmpty(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelSearchTextEmpty",
        data,
    });
}
export function getCalorieForm2LanguageList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm2LanguageList",
        data,
    });
}
export function getCalorieForm2CountryList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm2CountryList",
        data,
    });
}

//表单3
export function getUserRecordList(data) {
    return request({
        path: "/node/Calorie/getUserRecordList",
        data,
    });
}
export function deleteHandelRecord(data) {
    return request({
        path: "/node/Calorie/deleteHandelRecord",
        data,
    });
}
export function batchDeleteHandelRecord(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelRecord",
        data,
    });
}
export function getCalorieForm3SourceList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm3SourceList",
        data,
    });
}
export function getCalorieForm3LanguageList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm3LanguageList",
        data,
    });
}
export function getCalorieForm3CountryList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm3CountryList",
        data,
    });
}

//表单4
export function getUserRecordFailList(data) {
    return request({
        path: "/node/Calorie/getUserRecordFailList",
        data,
    });
}
export function deleteHandelRecordFail(data) {
    return request({
        path: "/node/Calorie/deleteHandelRecordFail",
        data,
    });
}
export function batchDeleteHandelRecordFail(data) {
    return request({
        path: "/node/Calorie/batchDeleteHandelRecordFail",
        data,
    });
}
export function getCalorieForm4SourceList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm4SourceList",
        data,
    });
}
export function getCalorieForm4LanguageList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm4LanguageList",
        data,
    });
}
export function getCalorieForm4CountryList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm4CountryList",
        data,
    });
}
export function getCalorieForm4CodeList(data) {
    return request({
        path: "/node/Calorie/getCalorieForm4CodeList",
        data,
    });
}

export function getFaceTokens(data) {
    return request({
        path: "/node/Calorie/getFaceTokens",
        data,
    });
}
 
export function getTokens(data) {
    return request({
        path: "/node/Calorie/getTokens",
        data,
    });
} 